package com.qianfeng.dbsm.admin.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 通用菜单表(SysMenu)表实体类
 *
 * @author makejava
 * @since 2022-11-18 09:46:38
 */
@SuppressWarnings("serial")
public class SysMenu extends Model<SysMenu> {
    @ApiModelProperty(value = "公共菜单id")

    private Integer pmenuId;

    @ApiModelProperty(value = "公共菜单名")
    private String menuName;


    public Integer getPmenuId() {
        return pmenuId;
    }

    public void setPmenuId(Integer pmenuId) {
        this.pmenuId = pmenuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.pmenuId;
    }
    }

